package constant;

/**
 * Created by Administrator on 2017/4/26.
 */

public class ApiConstants {
    public static final String VERSION_CODE = "1.0.0.1";
    public static final String TAG = "junfutong";
    public static final String TERMINAL = "3";
    public static final String DEFAULT_URL = "http://3ywapi.jtpay.com";

    /*-okhttp -*/
    public static final long TIME_OUT = 30L;
    public static final String TASK_SUCCESS = "1";
    public static final String TASK_FAILURE = "0";

    public static final String VERIFY_SUCCESS = "success";

    /*-main api-*/
    //    public static final String GET_SERVICES_YHB = "http://36g43.payhee.com";
//    public static final String GET_SERVICES_YZF = "http://333dddx.payeay.com";
//    public static final String GET_SERVICES_WSF = "http://8888j.paywap.cn";
    public static String sUrl = "http://3ywapi.jtpay.com";
//    public static String sUrl = "http://192.168.9.10";


    public static final String SHAREPERFERENCE_NAME = "paySdk";
    public static final String SHAREPERFERENCE_MSG_KEY = "PaySdkMsg";
    public static final String SHAREPERFERENCE_SERVCERS_SUM_KEY = "PaySdkServersSum";
    public static final String SHAREPERFERENCE_SERVCERS_CURRENT_KEY = "PaySdkOrderServersCurrent";
    public static final String SHAREPERFERENCE_ORDERSERVERS_SUM_KEY = "PaySdkOrderServersSum";
    public static final String SHAREPERFERENCE_ORDERSERVERS_CURRENT_KEY = "PaySdkOrderServersCurrent";

    public static void setDefaultUrl(String defaultUrl) {
        sUrl = defaultUrl;
    }

    public static void resetUrl() {
        sUrl = DEFAULT_URL;
    }
}
